<template>
  <div class="mine">
    <h2>饿了么</h2>
    <div class="user">
        <div class="userImg">
            <img src="../../img/touxiang.webp" alt="">
        </div>
        <div class="userName">
            <h3>7a9aaa07968</h3>
            <p>136****9070</p>
        </div>
        <div class="install">
            <button>账户设置</button>
        </div>
    </div>
    <div class="banner">
        <img src="../../img/chihuo.png" alt="">
    </div>
    <div class="money">
        <div>红包</div>
        <div>余额</div>
    </div>
    <div class="make">
        <div>常用工具</div>
        <div class="list">
            <div v-for="(item,index) in list" :key="index">{{item}}</div>
        </div>
    </div>
  </div>
</template>

<script>
export default {
    data(){
        return{
            list:['我的地址','我的客服','店铺关注','评价有礼']
        }
    }
}
</script>

<style scoped>
.mine{
    background-color: #f5f5f5;
    height: 100%;
}
.user {
    display: flex;
    justify-content: space-between;
}
.user .userImg{
    width: 20%;
}
.user .userImg img{
    width: 100%;
}
.user .userName{
    width: 50%;
}
.user .install{
    width: 20%;
}
.banner{
    width: 96%;
    margin-left: 2%;
    border-radius: 3px;
}
.banner img{
    width: 100%;
}
.money{
    display: flex;
    justify-content: space-around;
    width: 96%;
    margin: 10px 0;
    margin-left: 2%;
    background-color: #fff;

}
.make{
    width: 96%;
    margin-left: 2%;
    background-color: #fff;
}
.make .list{
    display: flex;
    justify-content: space-around;
}
</style>